package com.iursp.domain.model.user;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

import com.iursp.domain.model.BaseModel;

@Entity
@Table(name="auth_user_role")
public class UserRole extends BaseModel{
	
	private static final long serialVersionUID = 1539043027813403031L;
	/**
	 * 用户信息表ID
	 */
	@Column(name = "user_refid")
	private String userRefid;
	/**
	 * 角色表ROW_KEY
	 */
	@Column(name = "role_row_key")
	private String roleRowKey;
	/**
	 * 标示是否有效
	 */
	@Column(name = "active")
	private Boolean active= Boolean.TRUE;
	public String getUserRefid() {
		return userRefid;
	}
	public void setUserRefid(String userRefid) {
		this.userRefid = userRefid;
	}
	public String getRoleRowKey() {
		return roleRowKey;
	}
	public void setRoleRowKey(String roleRowKey) {
		this.roleRowKey = roleRowKey;
	}
	public Boolean getActive() {
		return active;
	}
	public void setActive(Boolean active) {
		this.active = active;
	}

}
